package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工程识别号对象 module_eng_serial
 * 
 * @author jiang
 * @date 2023-09-04
 */
public class ModuleEngSerial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表主键 */
    private Long engId;

    /** 工程识别号 */
    @Excel(name = "工程识别号")
    private String engNo;

    /** 工程名称 */
    @Excel(name = "工程名称")
    private String engName;

    /** 备注 */
    @Excel(name = "备注")
    private String comments;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;

    /** 是否归档 */
    @Excel(name = "是否归档")
    private Integer completeFlag;

    /** 预留 1 */
    @Excel(name = "预留 1")
    private String engSerialReserve1;

    /** 预留 2 */
    @Excel(name = "预留 2")
    private String engSerialReserve2;

    public void setEngId(Long engId) 
    {
        this.engId = engId;
    }

    public Long getEngId() 
    {
        return engId;
    }
    public void setEngNo(String engNo) 
    {
        this.engNo = engNo;
    }

    public String getEngNo() 
    {
        return engNo;
    }
    public void setEngName(String engName) 
    {
        this.engName = engName;
    }

    public String getEngName() 
    {
        return engName;
    }
    public void setComments(String comments) 
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }
    public void setCtime(Date ctime) 
    {
        this.ctime = ctime;
    }

    public Date getCtime() 
    {
        return ctime;
    }
    public void setCompleteFlag(Integer completeFlag) 
    {
        this.completeFlag = completeFlag;
    }

    public Integer getCompleteFlag() 
    {
        return completeFlag;
    }
    public void setEngSerialReserve1(String engSerialReserve1) 
    {
        this.engSerialReserve1 = engSerialReserve1;
    }

    public String getEngSerialReserve1() 
    {
        return engSerialReserve1;
    }
    public void setEngSerialReserve2(String engSerialReserve2) 
    {
        this.engSerialReserve2 = engSerialReserve2;
    }

    public String getEngSerialReserve2() 
    {
        return engSerialReserve2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("engId", getEngId())
            .append("engNo", getEngNo())
            .append("engName", getEngName())
            .append("comments", getComments())
            .append("ctime", getCtime())
            .append("completeFlag", getCompleteFlag())
            .append("engSerialReserve1", getEngSerialReserve1())
            .append("engSerialReserve2", getEngSerialReserve2())
            .toString();
    }
}
